import React from 'react';
import { Layout } from 'antd';
import Navigation from '../Navigation/Navigation';
import PermissionSearch from '../PermissionSearch/PermissionSearch';
import styles from './RightContent.less';

const { Content } = Layout;

const RightContent = () => {
  return (
    <Layout style={{ padding: '0 10px' }}>
      <Navigation />
      <PermissionSearch />
      <Layout>
        <Content className={styles.content}>
          {this.props ? this.props.children : null}
        </Content>
      </Layout>
    </Layout>
  );
};

RightContent.propTypes = {
};

export default RightContent;
